/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author Kanet
 */
public class BinhLuanPoJo {
    
    // <editor-fold defaultstate="collapsed" desc="1. Thuộc tính">
    private int idBinhLuan;
    private String noiDung;
    private int idBanTin;
    private BinhLuanPoJo binhLuanCha;
// </editor-fold>
    
    
    // <editor-fold defaultstate="collapsed" desc="3. Get/Set">
     public int getIdBinhLuan()
    {
        return this.idBinhLuan;
    }
    public void setIdBinhLuan(int id)
    {
        this.idBinhLuan = id;
    }
    public String getNoiDung()
    {
        return this.noiDung;
    }
    public void setNoiDung(String noidung)
    {
        this.noiDung = noidung;
    }
    public int getIdBanTin()
    {
        return this.idBanTin;
            }
    public void setIdBanTin(int idbantin)
    {
        this.idBanTin= idbantin;
        
    }
    public BinhLuanPoJo getBinhLuanCha()
    {
        return this.binhLuanCha;
    }
    public void setBinhLuanCha(BinhLuanPoJo binhluan)
    {
        this.binhLuanCha = binhluan;
    }
// </editor-fold>
    public BinhLuanPoJo()
    {
        this.idBinhLuan =0;
        this.noiDung= "";
        this.idBanTin = 0;
        this.binhLuanCha= new BinhLuanPoJo();
    }

    public String getNoiDung(String sql) {
        throw new UnsupportedOperationException("Not yet implemented");
    }
   
}
